<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="css/first.css">
</head>
<body>
    <div class="tabs">
        <ul>
            <li class="active">按钮1</li>
            <li>按钮2</li>
            <li>按钮3</li>
        </ul>
        <div class="contents">
            <div class="con" style="display: block;">内容1</div>
            <div class="con">内容2</div>
            <div class="con">内容3</div>
        </div>
    </div>
    <script src="./js/first.js"></script>
</body>
</html>